﻿using ArtMath.Setting;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ArtMath.Window
{
    public partial class CheckFileExtensionWindow : Form
    {
        public CheckFileExtensionWindow()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.No;
        }

        private void CheckFileExtensionWindow_FormClosing(object sender, FormClosingEventArgs e)
        {
            Settings.Instance.CheckExtension = cbCheckExt.Checked;
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Yes;
        }
    }
}
